/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
		 http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#pragma once

#include "../底层绘图/底层绘图框架.h"

#include "../引擎枚举数据.h"



/***************************************************************************
线框单色材质 单色面材质
线框光照材质 光照面材质

单色纹理面材质 光照纹理面材质


****************************************************************************/
EngineAPI_EXPORT S_材质管线* f_create材质(S_设备环境& ctx, std::string name, E_MS次数 采样, std::string type="", E_绘图API 后端 = E_绘图API::E_Vulkan);

EngineAPI_EXPORT S_材质管线* f_create基本材质(E_基本材质类型 type, std::string name, E_绘图API 后端 = E_绘图API::E_Vulkan);
EngineAPI_EXPORT S_材质管线* f_create基本材质(S_着色* shader, S_管线* 线管, E_绘图API 后端 = E_绘图API::E_Vulkan);

//S_GPU计算* f_create计算实例(S_设备环境& ctx, std::string path, const std::vector<S_着色器创建参数>& 参数配置);

EngineAPI_EXPORT S_材质管线* f_material_初始化UI预设材质(S_UI渲染环境& ctx);








